<?php

/**
 * HybridAuth
 * http://hybridauth.sourceforge.net | http://github.com/hybridauth/hybridauth
 * (c) 2009-2015, HybridAuth authors | http://hybridauth.sourceforge.net/licenses.html
 */
// ----------------------------------------------------------------------------------------
//	HybridAuth Config file: http://hybridauth.sourceforge.net/userguide/Configuration.html
// ----------------------------------------------------------------------------------------

return
		array(
			"base_url" => "http://www.slim.dev/test1",
			"providers" => array(
				// openid providers
				/*"OpenID" => array(
					"enabled" => true
				),
				"Yahoo" => array(
					"enabled" => true,
					"keys" => array("key" => "", "secret" => ""),
				),
				"AOL" => array(
					"enabled" => true
				),
				"Google" => array(
					"enabled" => true,
					"keys" => array("id" => "", "secret" => ""),
				),*/
				"Facebook" => array(
					"enabled" => true,
					"keys" => array("id" => "1124940454238188", "secret" => "85819c5bb6dd1b4b153cffc7516634f5"),
					"display" => "popup",
					"auth_type" => 'reauthenticate',
					"trustForwarded" => true
				),
				"Vkontakte" => array(
					"enabled" => true,
					"wrapper" => array( "path" => VENDOR_PATH."/hybridauth/hybridauth/additional-providers/hybridauth-vkontakte/Providers/Vkontakte.php", "class" => "Hybrid_Providers_Vkontakte" ),
					"keys" => array("id" => "4681547 ", "secret" => "dOoMo9f8WgsPibNCep7u"),
					"display" => "popup",
					"auth_type" => 'reauthenticate',
					"trustForwarded" => true
				),
				/*"Twitter" => array(
					"enabled" => true,
					"keys" => array("key" => "", "secret" => ""),
					"includeEmail" => false
				),
				// windows live
				"Live" => array(
					"enabled" => true,
					"keys" => array("id" => "", "secret" => "")
				),
				"LinkedIn" => array(
					"enabled" => true,
					"keys" => array("key" => "", "secret" => "")
				),
				"Foursquare" => array(
					"enabled" => true,
					"keys" => array("id" => "", "secret" => "")
				),*/
			),
			// If you want to enable logging, set 'debug_mode' to true.
			// You can also set it to
			// - "error" To log only error messages. Useful in production
			// - "info" To log info and error messages (ignore debug messages)
			"debug_mode" => false,
			// Path to file writable by the web server. Required if 'debug_mode' is not false
			"debug_file" => ROOT_PATH."log/social.log",
);
